home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-13
/
tsqed16.zip
/
ROT13.QMA
< prev
next >
Wrap
Text File
|
1992-03-28
|
1KB
|
39 lines
* All rights reserved
* Rotate or unrotate the marked block
* By Prof. Timo Salmi Sat 28-March-1992
*
* To compile these macros apply QMAC ROT13.MAC ROT13.QMA /A- /B
*
* To compile and use this command macro you need
* (also version 2.1 will do):
* QMAC.EXE macro translator from /pc/editor/qmac215.zip
* ROT13.EXE from garbo.uwasa.fi:/pc/ts/tsftlc13.zip
*
* Before compiling the macro, edit the paths in the "Dos" command
* lines to conform to where you have your files.
*
* To make this macro available you can e.g. first invoke the main menu
* (usually F10) and select Macro: Read Macro: rot13.mac. Then you can
* invoke the en/decryption with ALT-5.
* ┌──────────────────────────────────────────┐
* │ Rotate or unrotate a marked block, ALT-5 │
* └──────────────────────────────────────────┘
@5 MacroBegin
*
* Write the marked block to a temporary file
GotoBlockBeg
WriteBlock "r:\$rot13.txt" Return
DeleteBlock
*
* Rotate or unrotate using my ROT13.EXE program
Dos 'c:\tuki\rot13 < r:\$rot13.txt > r:\$$rot13.txt'
Return Return
*
* Read the rotated block
ReadBlock "r:\$$rot13.txt" Return
*
* Delete the temporary files
Dos 'del r:\$rot13.txt' Return Return
Dos 'del r:\$$rot13.txt' Return Return